package com.example.javaapitest.testcase;

import com.example.javaapitest.pojo.BaseBean;
import org.testng.Reporter;
import org.testng.annotations.DataProvider;
import org.testng.annotations.Test;

public class TxTest {
    @DataProvider(name = "test1")
    public Object[][] createData(){
        return new Object[][]{
                {"qwe",new Integer(36)},
                {"asd",new Integer(37)},
        };
    }

    @Test(dataProvider = "test1")
    public void verifyData(String n1, Integer n2){
        System.out.println(n1 + n2);
        Reporter.log("学生方法自定义日志");

    }

}
